﻿@model Actya.Core.Widgets.HtmlWidget

@Html.TextArea("Content", Model.Content, new { id = "ta_" + Model.Id })

<script type="text/javascript">
	$(document).bind('widgetloaded', function () {
		var selector = '#ta_' + '@Model.Id';
		enableTinyMce(selector, "250px", "100%", "@Url.Action("Browse", "Files")");
	})
</script>

